$OpenBSD: patch-chrome_browser_ui_views_chrome_views_delegate_cc,v 1.3 2015/05/26 17:37:39 robert Exp $
--- chrome/browser/ui/views/chrome_views_delegate.cc.orig.port	Thu May 14 00:35:45 2015
+++ chrome/browser/ui/views/chrome_views_delegate.cc	Wed May 20 08:34:56 2015
@@ -46,7 +46,7 @@
 #include "ui/views/widget/native_widget_aura.h"
 #endif
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 #include "ui/views/linux_ui/linux_ui.h"
 #endif
 
@@ -232,7 +232,7 @@ bool ChromeViewsDelegate::IsWindowInMetro(gfx::NativeW
   return chrome::IsNativeViewInAsh(window);
 }
 
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 gfx::ImageSkia* ChromeViewsDelegate::GetDefaultWindowIcon() const {
   ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
   return rb.GetImageSkiaNamed(IDR_PRODUCT_LOGO_64);
@@ -371,7 +371,7 @@ void ChromeViewsDelegate::OnBeforeWidgetInit(
 #endif
 }
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
 bool ChromeViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {
   // On Ubuntu Unity, the system always provides a title bar for maximized
   // windows.
